const item = {
  name: 'goods',
  cn: '商品',
  path: '/goods',
  defaultPath: '/goods/goodsclass',
  level: 1,
  auths: [],
  haveRouter: [],
  hiddenRouter: [],
  children: [
    {
      name: 'GoodsClass',
      cn: '商品分类',
      icon: '#icon-categroy',
      path: '/goods/goodsclass',
      componentPath: 'goods/goodsclass/Tree',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['GoodsClassTopAdd', 'GoodsClassTopEdit', 'GoodsClassSubAdd', 'GoodsClassSubEdit'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsClassTopAdd',
      cn: '商品分类顶级添加',
      path: '/goods/topclassAdd',
      componentPath: 'goods/goodsclass/TopAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsClassTopEdit',
      cn: '商品分类顶级编辑',
      path: '/goods/topclassEdit/:id',
      componentPath: 'goods/goodsclass/TopEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsClassSubAdd',
      cn: '商品子分类添加',
      path: '/goods/subclassAdd',
      componentPath: 'goods/goodsclass/SubAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsClassSubEdit',
      cn: '商品子分类编辑',
      path: '/goods/subclassEdit/:id',
      componentPath: 'goods/goodsclass/SubEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'yhGoods',
      cn: '艺货商品',
      icon: '#icon-yihuogoods',
      path: '/goods/yhgoods',
      componentPath: 'goods/yhgoods/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['yhGoodsAdd', 'yhGoodsEdit', 'Batch'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'yhGoodsAdd',
      cn: '艺货商品添加',
      path: '/goods/yhgoodsadd',
      componentPath: 'goods/yhgoods/Add',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'yhGoodsEdit',
      cn: '艺货商品编辑',
      path: '/goods/yhgoodsedit/:id/:cid',
      componentPath: 'goods/yhgoods/Edit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'Batch',
      cn: '批量修改商品价格',
      path: '/goods/batch',
      componentPath: 'goods/yhgoods/Batch',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'GoodsAttr',
      cn: '艺货商品属性',
      icon: '#icon-property',
      path: '/goods/goodsattr',
      componentPath: 'goods/goodsattr/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['GoodsAttrAdd'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsAttrAdd',
      cn: '艺货商品属性添加',
      icon: '#icon-property',
      path: '/goods/goodsattradd',
      componentPath: 'goods/goodsattr/Add',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'GoodsAttrEdit',
      cn: '艺货商品属性编辑',
      icon: '#icon-property',
      path: '/goods/goodsattredit/:id',
      componentPath: 'goods/goodsattr/Edit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'yhOrder',
      cn: '艺货商品订单',
      icon: '#icon-indent',
      path: '/goods/yhorder',
      componentPath: 'goods/order/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['yhOrderInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'yhOrderInfo',
      cn: '艺货商品订单',
      icon: '#icon-indent',
      path: '/goods/yhorderinfo/:id',
      componentPath: 'goods/order/Info',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'ysGoods',
      cn: '亚数商品',
      icon: '#icon-yashugoods',
      path: '/goods/ysgoods',
      componentPath: 'goods/ysgoods/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['ysGoodsInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'ysGoodsInfo',
      cn: '亚数商品详情',
      icon: '#icon-yashugoods',
      path: '/goods/ysgoodsinfo/:id',
      componentPath: 'goods/ysgoods/Info',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'Bills',
      cn: '账单',
      icon: '#icon-bill',
      path: '/goods/bills',
      componentPath: 'goods/bills/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'BillsAdd',
      cn: '账单添加',
      icon: '#icon-bill',
      path: '/goods/billsadd',
      componentPath: 'goods/bills/Add',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'Recommend',
      cn: '推荐位',
      icon: '#icon-recommend',
      path: '/goods/recommend',
      componentPath: 'goods/recommend/Tree',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['RecommendTopAdd', 'RecommendTopEdit', 'RecommendSubAdd', 'RecommendSubEdit', 'RecommendGoodsClass', 'RecommendGoods', 'RecommendCollection'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendTopAdd',
      cn: '推荐位顶级添加',
      icon: '#icon-recommend',
      path: '/goods/recommendtopadd',
      componentPath: 'goods/recommend/TopAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendTopEdit',
      cn: '推荐位顶级编辑',
      icon: '#icon-recommend',
      path: '/goods/recommendtopedit/:id',
      componentPath: 'goods/recommend/TopEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendSubAdd',
      cn: '推荐位子级添加',
      icon: '#icon-recommend',
      path: '/goods/recommendsubadd',
      componentPath: 'goods/recommend/SubAdd',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendSubEdit',
      cn: '推荐位子级编辑',
      icon: '#icon-recommend',
      path: '/goods/recommendsubedit/:id',
      componentPath: 'goods/recommend/SubEdit',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendGoodsClass',
      cn: '推荐商品分类',
      icon: '#icon-recommend',
      path: '/goods/recommendgoodsclass',
      componentPath: 'goods/recommend/GoodsClassRecommend',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendGoods',
      cn: '推荐商品',
      icon: '#icon-recommend',
      path: '/goods/recommendgoods',
      componentPath: 'goods/recommend/GoodsRecommend',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'RecommendCollection',
      cn: '推荐亚数藏品',
      icon: '#icon-recommend',
      path: '/goods/recommendcollection',
      componentPath: 'goods/recommend/CollectionRecommend',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    }
  ]
}

export default item
